package com.wyh.domain.dto.groupfour.threemeterDTO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author : 是你
 * @since : 2024/5/30 下午4:17
 */
@Data
public class MeterreadingDTO {
    @ApiModelProperty(value = "楼盘id",required = true)
    private Integer developmentid;
    @ApiModelProperty(value = "表具id",required = true)
    private Integer meterid;
    @ApiModelProperty(value = "用量",required = true)
    private Double reading;
    @ApiModelProperty(value = "抄表时间",required = true)
    @JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate readingtime;
}
